#pragma region Copyright
/// <copyright>
/// Copyright (c) 2007 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#pragma endregion

#pragma once

#define _WIN32_WINNT 0x0400

#define POINTER_64 __ptr64
#include <objbase.h>

#define _ATL_NO_EXCEPTIONS

#include <Sfc.h>

// <ATL>
//#include <afx.h>
#include <atltypes.h>
#include <atlbase.h>
#include <atlcom.h>
#include <atlstr.h>
#include <atlsimpcoll.h>

#include <atlapp.h>
#include <atluser.h>
#include <atlgdi.h>
#include <atlsync.h>
#include <atlsecurity.h>
// </ATL>


// <DirectX>
#include <uuids.h>
#include <strmif.h>
#include <vfwmsgs.h>

#ifdef _DEBUG
	#pragma warning(push)
	#pragma warning(disable: 4312)

	// Define __AFX_H__ to prevent error C2011: '__POSITION' : 'struct' type redefinition in wxlist.h(53)
	#define __AFX_H__
	#include <streams.h>
	#undef __AFX_H__

	//#include <transip.h>
	//#include <initguid.h>
	#pragma warning(pop)

	#include <wxdebug.h>
	#include <wxutil.h>
#endif
#include <control.h>
#include <D3d9.h>
#include <Vmr9.h>
// </DirectX>


#undef SelectBitmap


// OSH Type Library
#pragma warning(push)
#pragma warning(disable: 4192) // automatically excluding 'name' while importing type library 'library'
#import "libid:A286691E-0C8B-42fd-A170-0F020F1010BC" raw_interfaces_only, rename_namespace("OSHLibrary"), exclude("_SYSTEMTIME")
#pragma warning(pop)

#ifndef SIZEOF_ARRAY
    #define SIZEOF_ARRAY(ar)        (sizeof(ar)/sizeof((ar)[0]))
#endif

#include "Resources.h"
#include "Utils.h"

#include "ConnectionInfo.h"
#include "Tracing.h"

#include "Security.h"
#include "DirectShowUtility.h"

#include "OSHSourceConnector.h"
#include "Module.h"
#include "Configuration.h"
#include "ROTRegister.h"
#include "FilterGraphClassFactory.h"
#include "VMRStateController.h"
#include "OSHMixerPlugin.h"
#include "AllocatorPresenter.h"

